package com.sy.core.model;

import java.io.Serializable;

public class SysUser implements Serializable {
    private String pk;

    private String avatar;

    private String account;

    private String password;

    private String salt;

    private String name;

    private String birthday;

    private Integer sex;

    private String email;

    private String phone;

    private String rolePk;

    private String deptPk;

    private Integer status;

    private String createtime;

    private Integer version;

    private String ud1;

    private String ud2;

    private String ud3;

    private String ud4;

    private String ud5;

    public String getPk() {
        return pk;
    }

    public void setPk(String pk) {
        this.pk = pk == null ? null : pk.trim();
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar == null ? null : avatar.trim();
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account == null ? null : account.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt == null ? null : salt.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday == null ? null : birthday.trim();
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getRolePk() {
        return rolePk;
    }

    public void setRolePk(String rolePk) {
        this.rolePk = rolePk == null ? null : rolePk.trim();
    }

    public String getDeptPk() {
        return deptPk;
    }

    public void setDeptPk(String deptPk) {
        this.deptPk = deptPk;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getCreatetime() {
        return createtime;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime == null ? null : createtime.trim();
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public String getUd1() {
        return ud1;
    }

    public void setUd1(String ud1) {
        this.ud1 = ud1 == null ? null : ud1.trim();
    }

    public String getUd2() {
        return ud2;
    }

    public void setUd2(String ud2) {
        this.ud2 = ud2 == null ? null : ud2.trim();
    }

    public String getUd3() {
        return ud3;
    }

    public void setUd3(String ud3) {
        this.ud3 = ud3 == null ? null : ud3.trim();
    }

    public String getUd4() {
        return ud4;
    }

    public void setUd4(String ud4) {
        this.ud4 = ud4 == null ? null : ud4.trim();
    }

    public String getUd5() {
        return ud5;
    }

    public void setUd5(String ud5) {
        this.ud5 = ud5 == null ? null : ud5.trim();
    }

    public SysUser() {
    }
    public SysUser(String pk, String avatar, String account, String password, String salt, String name, String birthday, Integer sex, String email, String phone, String rolePk, String deptPk, Integer status, String createtime, Integer version, String ud1, String ud2, String ud3, String ud4, String ud5) {
        this.pk = pk;
        this.avatar = avatar;
        this.account = account;
        this.password = password;
        this.salt = salt;
        this.name = name;
        this.birthday = birthday;
        this.sex = sex;
        this.email = email;
        this.phone = phone;
        this.rolePk = rolePk;
        this.deptPk = deptPk;
        this.status = status;
        this.createtime = createtime;
        this.version = version;
        this.ud1 = ud1;
        this.ud2 = ud2;
        this.ud3 = ud3;
        this.ud4 = ud4;
        this.ud5 = ud5;
    }

    @Override
    public String toString() {
        return "SysUser{" +
                "pk='" + pk + '\'' +
                ", avatar='" + avatar + '\'' +
                ", account='" + account + '\'' +
                ", password='" + password + '\'' +
                ", salt='" + salt + '\'' +
                ", name='" + name + '\'' +
                ", birthday='" + birthday + '\'' +
                ", sex=" + sex +
                ", email='" + email + '\'' +
                ", phone='" + phone + '\'' +
                ", rolePk='" + rolePk + '\'' +
                ", deptPk='" + deptPk + '\'' +
                ", status=" + status +
                ", createtime='" + createtime + '\'' +
                ", version=" + version +
                ", ud1='" + ud1 + '\'' +
                ", ud2='" + ud2 + '\'' +
                ", ud3='" + ud3 + '\'' +
                ", ud4='" + ud4 + '\'' +
                ", ud5='" + ud5 + '\'' +
                '}';
    }
}